<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/confirm.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap-3.4.1-dist/css/bootstrap-theme.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap-3.4.1-dist/css/bootstrap.css"/>

    <script src="${pageContext.request.contextPath}/bootstrap-3.4.1-dist/js/jquery-3.3.1.min.js"></script>
    <script src="${pageContext.request.contextPath}/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
</head>
<body>

<script src="${pageContext.request.contextPath}/layui/layui.js"></script>


<div class="container">
    <div class="confirm">

        <table class="order-table">
            <thead>
            <tr>
                <th>订单编号</th>
                <th>商品名称</th>
                <th>商品类型</th>
                <th>订单价格</th>
            </tr>
            </thead>
            <tbody>
            <tr name="orderNum" class="information">
                <td class="movie-name" >${order.orderNumber}</td>
                <td class="showtime" >${product.proName}</td>
                <td class="type-name">${product.proType}</td>
                <td class="cinema-name" >${order.orderPrice}</td>
            </tr>
            </tbody>
        </table>

        <div class="count-down-wrapper">
            <div class="count-down" data-payleftseconds="839" id="remainTime">
                <p class="time-left">
                    请在尽快完成支付
                </p>
                <p class="tip">超时订单会自动取消，如遇支付问题，请致客服：1010-5335</p>
            </div>
        </div>


        <p class="warning">请仔细核对订单信息</p>



        <form class="form_info" method="post" action="${pageContext.request.contextPath}/goAlipay">
            <input type="hidden" name="custId" value="1">
            <input type="hidden" name="proId" value="${product.proId}">
            <input type="hidden" name="proName" value="${product.proName}">
            <input type="hidden" name="orderId" value="${order.orderId}">
            <input type="hidden" name="orderNumber" value="${order.orderNumber}">
            <input type="hidden" name="orderPrice" value="${order.orderPrice}">
            <input class="submitBtn" type="submit" value="前往支付宝进行支付" >
        </form>

    </div>

    <script src="${pageContext.request.contextPath}/js/confirm.js"></script>

</body>
</html>